#ifndef SERVICEVIEW_CONSOLE_IMPL_H
#define SERVICEVIEW_CONSOLE_IMPL_H
#include<vector>
#include<iostream>
#include<string>
#include"department.h"
#include"employee.h"
#include"service.h"
#include"serviceview.h"
#include"tools.h"
#include "service_impl.h"
using namespace MC;
using namespace std;
namespace MC
{
	enum cmd{AddDept=6,DeleteDept,ListDept,AddEmp
		,DeleteEmp,ModifyEmp,ListEmp,ListAllEmp,Quit};
class ServiceViewConsoleImpl:public ServiceView
{
	Service* m_pService;
public:
	ServiceViewConsoleImpl();
 	int menu(void);
 	void run(void);
	void addDept(void);
	void deleteDept(void);
 	void listDept(void);
 	void addEmp(void);
 	void deleteEmp(void);
 	void modifyEmp(void);
 	void listEmp(void);
 	void listAllEmp(void);
 	~ServiceViewConsoleImpl();
};
}

#endif